<?php
/**
* @description		  
* @author           tam.le
* @since			  
* @otherInformation	  
*/
class SMCore_Utilities_Thumb
{
	/**
	* Constructor
	* @access		public	
	*/	
	public function decode($params)
	{
        $fileorginal = base64_decode($params['filename']);
        $fileinfo = pathinfo($fileorginal);
        $file = ($fileinfo['extension']);
        $filename = base64_decode($params['filename']);
        $path = base64_decode($params['path']);
        $filePathOrigin = $path . $filename;
        if(file_exists($filePathOrigin)) {
            SMCore_Utilities_Image_SimpleImage::showImage($filePathOrigin);            
        }   
          
	}
}
?>